package net.weitalk.patterns.visitor.stage3;

public class Extractor implements Visitor {
    @Override
    public void visit(PdfFile file) {
        System.out.println("Extract PDF.");
    }
    
    @Override
    public void visit(PPTFile file) {
        System.out.println("Extract PPT.");
    }
    
    @Override
    public void visit(WordFile file) {
        System.out.println("Extract Word.");
    }
}
